package com.verify.emun;

public enum MU2021 {
    FORMAL_POSITION("正式编制"),
    CONTROLLED_POSITION("控制编制"),
    TEMPORARY("临时"),
    ON_WAIT("待岗"),
    TRAINEE("见习"),
    PART_TIME("兼职"),
    OTHER("其他"),
    REHIRED("返聘"),

    //todo 这两列是不是要删掉
//    EXTERNAL_ASSIGNMENT("外派"),
//    FORMAL("正式")
;
    private final String name;

    MU2021(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public static boolean contains(String value) {
        for (MU2021 type : MU2021.values()) {
            if (type.getName().equals(value)) {
                return true;
            }
        }
        return false;
    }
}
